<!--
  // Creation History
  // --------------------------------------------------------------
  //	Company:			HTHK
  //	NAME:				GroupList.jsp
  //	TITLE:				Group List
  //	FUNCTION:			List the Searching result.
  //	BY:				Poly Li
  //	DATE:				14/01/2004
  // --------------------------------------------------------------
-->

<html>
<%@ include file="../tssheader.jsp" %>
<%@ page import="tss.group.*" %>
<body>
<%
	 GroupBean[] groups = (GroupBean[])request.getAttribute("groups");
     if (groups == null)
     {   groups = new Group[0];}

%>


<body >
<h2>Project Group Maintenance</h2>
<INPUT type=button value=Back onclick="location.href= '<%=contextPath%>/tss/group/GroupSearch.jsp'">
<table cols=6 border=1 >
<thead>
  <td><b>Project Group Name</b></td>
  <td><b>Comments</b></td>

</thead>
<%  for (int i=0; i<groups.length; i++)
    {
%>
<tr>
	<td>
	<a href="<%=contextPath%>/servlet/tss.group.GroupSearch?formAction=Update&group_name=<%=groups[i].getGroup_name()%>">
	<%= groups[i].getGroup_name() %></a></td>
    <td><%= (groups[i].getComments()).length()==0?"&nbsp;":groups[i].getComments() %></td>

</tr>
<%  } %>
</table>
</body>
<%@ include file="../tssfooter.jsp" %>
</body>
</html>

